package cn.mxh.pethspt.entity;
/**员工职位实体类*/
public class Part {
    private Integer parId;//职位id
    private String login;//登录名
    private String passWord;//登录密码
    private Integer eId;//员工id
    private Integer pId;//职位id

    public Part(){}
    public Part(Integer parId, String login, String passWord, Integer eId, Integer pId) {
        this.parId = parId;
        this.login = login;
        this.passWord = passWord;
        this.eId = eId;
        this.pId = pId;
    }

    public Integer getParId() {
        return parId;
    }

    public void setParId(Integer parId) {
        this.parId = parId;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    @Override
    public String toString() {
        return "Part{" +
                "parId=" + parId +
                ", login='" + login + '\'' +
                ", passWord='" + passWord + '\'' +
                ", eId=" + eId +
                ", pId=" + pId +
                '}';
    }
}
